// 
@dataGrid-prefix: ~"@{prefix}dataGrid";


.@{dataGrid-prefix} {
    width: 100%;
    height: 100%;
    background: #f2f2f2;
    position: relative;
}
.@{dataGrid-prefix} i {
    float: left;
    font-size: 16px;
    margin-top: 8px;
}
.@{dataGrid-prefix} .empty {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 240px;
    margin-left: -180px;
    text-align: center;
    margin-top: -140px;
}
.@{dataGrid-prefix} .empty img {
    height: 128px;
}
.@{dataGrid-prefix} .empty p.face {
    margin: 0px;
    font-size: 100px;
    font-weight: normal;
    line-height: 120px;
    margin-bottom: 12px;
    color: #555;
}
.@{dataGrid-prefix} .empty i {
    float: none;
    font-size: 128px;
    color: #666;
}
.@{dataGrid-prefix} .empty p {
    color: #999;
}
.@{dataGrid-prefix} .empty .ctrl {
    padding: 5px;
}
.@{dataGrid-prefix} .empty .ctrl .btn {
    margin: 0px 5px;
}
.@{dataGrid-prefix} .empty .ctrl .btn i {
    float: left;
    font-size: 16px;
    margin-top: 8px;
}
.@{dataGrid-prefix} .listWrap {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    overflow: hidden;
}
.@{dataGrid-prefix} .listHead {
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    z-index: 99;
    background: #f2f2f2;
    height: 30px;
    padding: 10px 10px 0px 5px;
}
.@{dataGrid-prefix} .listBody {
    position: absolute;
    top: 30px;
    right: 0px;
    bottom: 40px;
    left: 0px;
    overflow: auto;
}
.@{dataGrid-prefix} .listFoot {
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
    height: 39px;
    line-height: 39px;
    padding: 0px 20px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f2f2f2;
}
.@{dataGrid-prefix} .listFoot .center {
    
}
.@{dataGrid-prefix} .listFoot .center a {
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
}
.@{dataGrid-prefix} .listFoot .center i {
    float: left;
    font-weight: bold;
    margin-top: 2px;
    font-size: 16px;
}
.@{dataGrid-prefix} .listFoot .fl,
.@{dataGrid-prefix} .listFoot .fr {
    position: absolute;
    top: 0px;
    bottom: 0px;
}
.@{dataGrid-prefix} .listFoot .fl {
    left: 20px;
}
.@{dataGrid-prefix} .listFoot .fr {
    right: 20px;
}
.@{dataGrid-prefix} .listFoot strong {
    color: #1c78c0;
}
.@{dataGrid-prefix} .listFoot .pageSize {
    width: 40px;
    height: 20px;
    line-height: 20px;
    padding: 0px;
    display: inline;
    margin: 0px 5px;
}
.@{dataGrid-prefix} .listFoot .nomore {
    color: #aaa;
    text-shadow: 0px 1px 0px #fff;
}
.@{dataGrid-prefix} .nohead .listHead {
    display: none;
}
.@{dataGrid-prefix} .nohead .listBody {
    top: 0px;
}
/* talbe */
.@{dataGrid-prefix} .tableHead {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 34px;
    overflow: hidden;
    z-index: 2;
    background: #f2f2f2;
    /* background: #f30; */
}
.@{dataGrid-prefix} .tableBody {
    position: relative;
}
.@{dataGrid-prefix} .tableBody .ctrl {
    position: absolute;
    top: -50px;
    right: 0px;
    padding: 5px 10px 5px 20px;
    background: #fff;
    background: rgba(255,255,255,0.8);
    border-color: #fff;
    border-radius: 5px;
    /* box-shadow: 0px 5px 10px rgba(0,0,0,0.1); */
    z-index: 999999;
    transition: 100ms;
}
.@{dataGrid-prefix} .tableBody .ctrl a {
    float: left;
    height: 24px;
    line-height: 24px;
    margin-right: 20px;
}
.@{dataGrid-prefix} .tableBody .ctrl a i {
    font-size: 16px;
    margin: 4px 5px 0px 0px;
}
.@{dataGrid-prefix} .tableList {
    width: 2000px;
}
.@{dataGrid-prefix} .tableList th,
.@{dataGrid-prefix} .tableList td {
    line-height: 24px;
    padding: 5px 10px;
}
.@{dataGrid-prefix} .tableList thead tr {
    border: 1px solid #f2f2f2;
}
.@{dataGrid-prefix} .tableList tbody tr {
    border: 1px solid #f2f2f2;
    background: #fff;
    transition: all 200ms;
    -moz-transition: all 200ms;
    -webkit-transition: all 200ms;
    -o-transition: all 200ms;
}
.@{dataGrid-prefix} .tableList tbody tr:nth-child(even) {
    background: #fafafa;
}
.@{dataGrid-prefix} .tableList tbody tr:hover {
    background: #f6faff;
    border-color: #daebfd;
}
.@{dataGrid-prefix} .tableList tbody tr.checked {
    background: #fff8d8;
    border-color: #f9eada;
}
.@{dataGrid-prefix} .tableList .check {
    text-align: center;
    line-height: 24px;
    color: #999;
    cursor: pointer;
}
.@{dataGrid-prefix} .tableList .check i {
    font-size: 20px;
    margin: 0px;
    margin-top: 2px;
}
.@{dataGrid-prefix} .tableList tbody tr.checked .check {
    color: #57da57;
}

/* 卡片 */
.@{dataGrid-prefix} .cardList {
    margin-left: 20px;
    padding-top: 20px;
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
}
.@{dataGrid-prefix} .cardList .item {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 4px;
    color: #333;
    position: relative;
    box-shadow: 0px 4px 10px rgba(57, 121, 184, .1);
    transition: all 200ms;
    -moz-transition: all 200ms;
    -webkit-transition: all 200ms;
    -o-transition: all 200ms;
}
.@{dataGrid-prefix} .cardList .item .check {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 10px 10px 20px 20px;
    z-index: 9;
    cursor: pointer;
    color: #9aadce;
    opacity: 0.25;
    filter: alpha(opacity=25);
}
.@{dataGrid-prefix} .cardList .item .check i {
    margin: 0px;
    font-size: 24px;
}
.@{dataGrid-prefix} .cardList .item:hover {
    background: #fff;
    box-shadow: 0px 10px 20px rgba(57, 121, 184, .2);
    transform:translate(0px, -2px); 
}
.@{dataGrid-prefix} .cardList .item:hover .check {
    opacity: 0.75;
    filter: alpha(opacity=75);
}
.@{dataGrid-prefix} .cardList .item.checked {
    box-shadow: 0px 10px 20px rgba(57, 121, 184, .5);
    transform:translate(0px, -4px); 
}
.@{dataGrid-prefix} .cardList .item.checked .check {
    color: #68c656;
    opacity: 1;
    filter: alpha(opacity=100);
}
.@{dataGrid-prefix} .cardList.block .item,
.@{dataGrid-prefix} .cardList .item.block {
    width: auto;
    float: none;
    margin-right: 20px;
}